-- GENERATED SPELL FOR [Thundering Boulderkin] --


function spell0_4120(pUnit, Event) --@Ground Tremor,Self--
pUnit:FullCastSpellOnTarget(6524,pUnit)
pUnit:RegisterEvent('Sorts_4120', 2000, 1)
end

function Sorts_4120(pUnit, Event)
local choix_sorts_4120 = math.random(0, 0)
if choix_sorts_4120 == 0 then
pUnit:RegisterEvent('spell0_4120', 1, 1)
end
end

function mob4120_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4120', math.random(1500, 3000), 1)
end

function mob4120_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4120_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4120_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4120, 1, 'mob4120_Action')
RegisterUnitEvent(4120, 2, 'mob4120_Leave')
RegisterUnitEvent(4120, 3, 'mob4120_Kill')
RegisterUnitEvent(4120, 4, 'mob4120_Die')
